home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / graphics / tiff / contrib / vms / readme.vms < prev   
Text File  |  1992-03-01  |  2KB  |  60 lines

  1. Installation and use of the TIFF library and tools under VMS
  2.  
  3. It is assumed that you have unpacked the tar file into a VMS directory tree,
  4. in this text called DISK:[TIFF].
  5.  
  6. Installation:
  7. 1) Move the VMS specific files to their proper directories
  8.     $ SET DEFAULT DISK:[TIFF.CONTRIB.VMS]
  9.     $ RENAME [.LIBTIFF]*.* [-.-.LIBTIFF]
  10.     $ RENAME [.TOOLS]*.* [-.-.TOOLS]
  11. 2) Compile the library
  12.     $ SET DEFAULT DISK:[TIFF.LIBTIFF]
  13.     $ @MAKEVMS
  14. 3) Compile the tools
  15.     $ SET DEFAULT DISK:[TIFF.LIBTIFF]
  16.     $ @MAKEVMS
  17. 4) Define the programs
  18.     $ DEFINE TIFFSHR DISK:[TIFF.LIBTIFF]TIFFSHR
  19.     $ TIFFCP    :==$DISK:[TIFF.TOOLS]TIFFCP
  20.     $ TIFFCMP   :==$DISK:[TIFF.TOOLS]TIFFCMP
  21.     $ TIFFINFO  :==$DISK:[TIFF.TOOLS]TIFFINFO
  22.     $ TIFFDUMP  :==$DISK:[TIFF.TOOLS]TIFFDUMP
  23.     $ TIFF2PS   :==$DISK:[TIFF.TOOLS]TIFF2PS
  24.     $ TIFFDITHER:==$DISK:[TIFF.TOOLS]TIFFDITHER
  25.     $ TIFF2BW   :==$DISK:[TIFF.TOOLS]TIFF2BW
  26.     $ TIFFMEDIAN:==$DISK:[TIFF.TOOLS]TIFFMEDIAN
  27.     $ FAX2TIFF  :==$DISK:[TIFF.TOOLS]FAX2TIFF
  28.     $ GIF2TIFF  :==$DISK:[TIFF.TOOLS]GIF2TIFF
  29.     $ PAL2RGB   :==$DISK:[TIFF.TOOLS]PAL2RGB
  30. You will want to add these lines to your LOGIN.COM file, after changing the
  31. name of the directory that you have used on your machine.
  32.  
  33.  
  34. Linking your own program to the TIFF library
  35.  
  36. You can link to a library in two ways: Either using the shareable library,
  37. or using the object library. This gives the following possibilities
  38.  
  39. 1) Using the shareable TIFF library
  40.     $ LINK MY_PROGRAM,DISK:[TIFF.LIBTIFF]TIFF/OPTIONS
  41.  
  42. 2) Using the TIFF object library and shareable C run time library
  43.     $ LINK MY_PROGRAM,DISK:[TIFF.LIBTIFF]TIFF/LIBRARY,SYS$INPUT/OPTIONS
  44.         SYS$SHARE:VAXCRTL/SHAREABLE
  45.  
  46. 3) Using the TIFF object library and object C run time library
  47.     $ LINK MY_PROGRAM,DISK:[TIFF.LIBTIFF]TIFF/LIBRARY,-
  48.         SYS$LIBRARY:VAXCRTL/LIBRARY
  49.  
  50. (You may think of a fourth possibility, but that is not possible)
  51.  
  52. Method 1 uses the shortest link time and smallest .EXE files, but it requires 
  53. that TIFFSHR is defined as above at link time and *at*run*time*.
  54.  
  55. Method 2 gives somewhat longer link time and .EXE files, but does not require
  56. TIFFSHR to be defined.
  57.  
  58. Method 3 gives even longer link times and .EXE files, it not recommended unless
  59. you are going to use your program on a machine without a shareable C library.
  60.